import turtle

turtle.shape("turtle")
turtle.speed(0)

n = 0
length = 5

while True:
    turtle.forward(length)
    turtle.left(120)
    n = n + 1
    length = length + 5

    if n == 9:
        break

turtle.done()